package com.bangbang.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author ${author}
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class TbOrder implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 订单号
     */
    @TableId(value = "der_id", type = IdType.ID_WORKER)
    private Long derId;

    /**
     * 母账单
     */
    private String derOrigin;

    /**
     * 流水号
     */
    private String derRunning;

    /**
     * 创建时间

     */
    @TableField(fill = FieldFill.INSERT)
    private Date derCreateTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date derUpdateTime;

    /**
     * 订单名字

     */
    private String derName;

    /**
     * 订单状态

     */
    private String derStatus;

    /**
     * 订单金额

     */
    private BigDecimal derMoney;

    /**
     * 支付类型

     */
    private String derPaymentType;

    /**
     * 备用字段1
     */
    private String spareA;

    /**
     * 备用字段2
     */
    private String spareB;

    /**
     * 备用字段3
     */
    private String spareC;


}
